package com.example.knowledgeget1.KnowtCommon.Entity;

import jakarta.persistence.*;
import lombok.Data;

@Entity
@Data
@Table(name = "likes")
public class Like {
    @EmbeddedId
    private LikeId id;

    // 构造函数、getters 和 setters
}